home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
301-325
/
disk_319
/
cnewssrc
/
cnews.src.lzh
/
libfake
/
Makefile
< prev
next >
Wrap
Makefile
|
1989-06-30
|
811b
|
38 lines
INCLUDE = /include
# AMIGA
CC = cc +B
# AMIGA
# COPTS = -O
COPTS = -DFJE -DAMIGA
CFLAGS = $(COPTS) -I$(INCLUDE)
# workaround for System V make bug
SHELL = /bin/sh
ALL = dbm.o fsync.o getopt.o index.o ldiv.o memchr.o memcmp.o memcpy.o \
memset.o mkdir.o putenv.o rindex.o strchr.o strcspn.o strpbrk.o strrchr.o \
strspn.o strtok.o symlink.o
# beware -- build knows about NEEDED
# AMIGA
# Amiga may need putenv(), and mkdir() in CNews is (char *dir, int mode)
NEEDED = dbm.o fsync.o getopt.o ldiv.o symlink.o
.c.o:
$(CC) $(CFLAGS) $*.c
u: $(NEEDED)
lb /libcnews.lib -d $(NEEDED)
lb /libcnews.lib -a+ $(NEEDED)
lb /libcnews.lib -t
# oml /libcnews.a r $(NEEDED)
# ar ruv ../libcnews.a $(NEEDED)
all: $(NEEDED)
try: $(ALL)
# ldiv.o: $(INCLUDE)/stdlib.h # trouble if stdlib.h isn't ours
clean:
rm -f *.o